{extend name="main/index" /}
{block name="main"}
<div class="main-content">
    <div class="breadcrumbs" id="breadcrumbs">
        <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
        </script>

        <ul class="breadcrumb">
            <li>
                <i class="icon-home home-icon"></i>
                <a href="{:url('admin/material/index')}" >查看机械费用表</a>
            </li>
        </ul><!-- .breadcrumb -->


    </div>

    <div class="page-content">
        <h3 class="header smaller lighter blue">查看机械费用表</h3>
        <div class="row">
        <div class="col-xs-2">
        </div>
            <div class="col-xs-8">
                <div class="row">
                    <div class="col-xs-12">

                        <div class="table-responsive">

                           <form action="{:url('admin/mechanical/mechanical_cost',['id' => $list['id']])}" method='post'>
                               <div class="form-group">
                                   <label for="exampleInputEmail1">项目名称</label>
                                   <!-- <?php var_dump($list)?> -->
                                   <input type="hidden" class="form-control" id="exampleInputEmail1" name="id" value= "{$list['id']}" >
                                   <input type="text" class="form-control" id="exampleInputEmail1" value= "{$list['project_name']}" name="project_name" readonly>
                               </div>
                               <div class="form-group">
                                   <label for="exampleInputEmail1">机械名称</label>
                                   <input type="text" class="form-control" id="exampleInputEmail1" name="machine_name" placeholder="Email" value="{$list['machine_name']}">
                               </div>
                               <div class="form-group">
                                   <label for="exampleInputEmail1">运费</label>
                                   <input type="text" class="form-control" id="exampleInputEmail1" name="freight" placeholder="Email" value="{$list['freight']}">
                               </div>
                               <div class="form-group">
                                   <label for="exampleInputEmail1">维修费</label>
                                   <input type="text" class="form-control" id="exampleInputEmail1" name="maintenance_cost" placeholder="Email" value="{$list['maintenance_cost']}" >
                               </div>
                               <div class="form-group">
                                   <label for="exampleInputEmail1">油费</label>
                                   <input type="text" class="form-control" id="exampleInputEmail1" name="oil_cost" placeholder="oil_cost" value="{$list['oil_cost']}" >
                               </div>
                               <div class="form-group">
                                   <label for="exampleInputPassword1">机械使用费</label>
                                   <input type="text" class="form-control" id="exampleInputPassword1" name="machine_usage_cost" placeholder="Password" value="{$list['machine_usage_cost']}" >
                               </div>
                               <div class="form-group">
                                   <label for="exampleInputPassword1">总计</label>
                                   <input type="text" class="form-control" id="exampleInputPassword1" name="total_price" placeholder="Password" value="{$list['total_price']}" >
                               </div>
                                  <!-- <span class="label label-lg arrowed-in">Yellow</span> -->
                                  <button class="btn label-default btn-block" type="submit">编辑信息</button>



                            </form>
                </div>
            </div>
            <div class="col-xs-3">
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.page-content -->
</div>
{/block}